<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<input id='auditflag' type='hidden' value='${param.auditflag}'>
<div class="t_bar">本申请所附材料清单</div>
<table id="prpContent_upload" label="附件" border="0" cellspacing="0" width="100%"
	cellpadding="0" class="table01 t_css"
	style="*border-bottom: #a1c0dc 1px solid;">
	<thead>
		<tr>
			<th width="8%">序号</th>
			<th width="30%">附件名称</th>
			<th width="7%">是否必备材料</th>
			<c:if test="${param.auditflag=='edit'}">
			   <th nowrap width="8%">是否符合条件</th>
			   <th nowrap width="25%">上次上传附件</th>
			</c:if>
			<th width="25%">下载</th>
		</tr>
	</thead>
	<tbody>
		<tr>
					    <td style="text-align:center" ><span name="content/seq0">1</span></td>
			            <td><span name='content/name0'><x:out select="$xmlData/data/content/name0" /></span></td>
			            <td style="text-align:center"><x:out select="$xmlData/data/content/berif0" /></td>
			            <c:if test="${param.auditflag=='edit'}">
					    <td style="text-align:center">
					        <input type="checkbox" class="do " id="reqattach_0"
				                   style="vertical-align: middle;" name="reqattach" value="0" />
					    </td>
					    <td style="text-align:center">
					        <c:set var="file_code_his0"><x:out select="$xmlData/data/content/file_code_his0" /></c:set>
					        <span name="file_code_his0" style="display:none"><x:out select="$xmlData/data/content/file_code_his0" /></span>
					        <c:if test="${file_code_his0!=''}" >
					            <a id="content_downLoadFile0" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_his0" />" 
				                   class="link_x" >
				                   <span name="content/file_name_his0"><x:out select="$xmlData/data/content/file_name_his0" /></span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date0"><x:out select="$xmlData/data/content/file_date_his0" /></span>) 
					       </c:if>&nbsp;
					    </td>
					    </c:if>  
					    <td>
					        <c:set var="file_code0"><x:out select="$xmlData/data/content/file_code0" /></c:set>
					        <span name="file_code0" style="display:none"><x:out select="$xmlData/data/content/file_code0" /></span>
					        <c:if test="${file_code0!=''}" >
					            <a id="content_downLoadFile0" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code0" />" 
				                   class="link_x" >
				                   <span name="content/file_name0"><x:out select="$xmlData/data/content/file_name0" /></span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date0"><x:out select="$xmlData/data/content/file_date0" /></span>) 
					       </c:if>&nbsp;
                        </td>
					   
					</tr>
						<tr>
					    <td style="text-align:center" ><span name="content/seq1">2</span></td>
			            <td><span name='content/name1'><x:out select="$xmlData/data/content/name1" /></span></td>
			            <td style="text-align:center"><x:out select="$xmlData/data/content/berif1" /></td>
			            <c:if test="${param.auditflag=='edit'}">
					    <td style="text-align:center">
					        <input type="checkbox" class="do " id="reqattach_1"
				                   style="vertical-align: middle;" name="reqattach" value="1" />
					    </td>
					    <td style="text-align:center">
					        <c:set var="file_code_his1"><x:out select="$xmlData/data/content/file_code_his1" /></c:set>
					        <span name="file_code_his1" style="display:none"><x:out select="$xmlData/data/content/file_code_his1" /></span>
					        <c:if test="${file_code_his1!=''}" >
					            <a id="content_downLoadFile1" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_his1" />" 
				                   class="link_x" >
				                   <span name="content/file_name_his1"><x:out select="$xmlData/data/content/file_name_his1" /></span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date1"><x:out select="$xmlData/data/content/file_date_his1" /></span>) 
					       </c:if>&nbsp;
					    </td>
					    </c:if>  
					    <td>
					        <c:set var="file_code1"><x:out select="$xmlData/data/content/file_code1" /></c:set>
					        <span name="file_code1" style="display:none"><x:out select="$xmlData/data/content/file_code1" /></span>
					        <c:if test="${file_code1!=''}" >
					            <a id="content_downLoadFile1" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code1" />" 
				                   class="link_x" >
				                   <span name="content/file_name1"><x:out select="$xmlData/data/content/file_name1" /></span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date1"><x:out select="$xmlData/data/content/file_date1" /></span>) 
					       </c:if>&nbsp;
                        </td>
					    
					</tr>
					<tr>
					    <td style="text-align:center" ><span name="content/seq2">3</span></td>
			            <td><span name='content/name2'><x:out select="$xmlData/data/content/name2" /></span></td>
			            <td style="text-align:center"><x:out select="$xmlData/data/content/berif2" /></td>
			            <c:if test="${param.auditflag=='edit'}">
					    <td style="text-align:center">
					        <input type="checkbox" class="do " id="reqattach_2"
				                   style="vertical-align: middle;" name="reqattach" value="2" />
					    </td>
					    <td style="text-align:center">
					        <c:set var="file_code_his2"><x:out select="$xmlData/data/content/file_code_his2" /></c:set>
					        <span name="file_code_his2" style="display:none"><x:out select="$xmlData/data/content/file_code_his2" /></span>
					        <c:if test="${file_code_his2!=''}" >
					            <a id="content_downLoadFile2" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_his2" />" 
				                   class="link_x" >
				                   <span name="content/file_name_his2"><x:out select="$xmlData/data/content/file_name_his2" /></span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date2"><x:out select="$xmlData/data/content/file_date_his2" /></span>) 
					       </c:if>&nbsp;
					    </td>
					    </c:if>  
					    <td>
					        <c:set var="file_code2"><x:out select="$xmlData/data/content/file_code2" /></c:set>
					        <span name="file_code2" style="display:none"><x:out select="$xmlData/data/content/file_code2" /></span>
					        <c:if test="${file_code2!=''}" >
					            <a id="content_downLoadFile2" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code2" />" 
				                   class="link_x" >
				                   <span name="content/file_name2"><x:out select="$xmlData/data/content/file_name2" /></span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date2"><x:out select="$xmlData/data/content/file_date2" /></span>) 
					       </c:if>&nbsp;
                        </td>
					    
					</tr>
					<tr>
					    <td style="text-align:center" ><span name="content/seq3">4</span></td>
			            <td><span name='content/name3'><x:out select="$xmlData/data/content/name3" /></span></td>
			            <td style="text-align:center"><x:out select="$xmlData/data/content/berif3" /></td>
			            <c:if test="${param.auditflag=='edit'}">
					    <td style="text-align:center">
					        <input type="checkbox" class="do " id="reqattach_3"
				                   style="vertical-align: middle;" name="reqattach" value="3" />
					    </td>
					    <td style="text-align:center">
					        <c:set var="file_code_his3"><x:out select="$xmlData/data/content/file_code_his3" /></c:set>
					        <span name="file_code_his3" style="display:none"><x:out select="$xmlData/data/content/file_code_his3" /></span>
					        <c:if test="${file_code_his3!=''}" >
					            <a id="content_downLoadFile3" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_his3" />" 
				                   class="link_x" >
				                   <span name="content/file_name_his3"><x:out select="$xmlData/data/content/file_name_his3" /></span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date3"><x:out select="$xmlData/data/content/file_date_his3" /></span>) 
					       </c:if>&nbsp;
					    </td>
					    </c:if>  
					    <td>
					        <c:set var="file_code3"><x:out select="$xmlData/data/content/file_code3" /></c:set>
					        <span name="file_code3" style="display:none"><x:out select="$xmlData/data/content/file_code3" /></span>
					        <c:if test="${file_code3!=''}" >
					            <a id="content_downLoadFile3" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code3" />" 
				                   class="link_x" >
				                   <span name="content/file_name3"><x:out select="$xmlData/data/content/file_name3" /></span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date3"><x:out select="$xmlData/data/content/file_date3" /></span>) 
					       </c:if>&nbsp;
                        </td>
					    
					</tr>
					<tr>
					    <td style="text-align:center" ><span name="content/seq4">5</span></td>
			            <td><span name='content/name4'><x:out select="$xmlData/data/content/name4" /></span></td>
			            <td style="text-align:center"><x:out select="$xmlData/data/content/berif4" /></td>
			            <c:if test="${param.auditflag=='edit'}">
					    <td style="text-align:center">
					        <input type="checkbox" class="do " id="reqattach_4"
				                   style="vertical-align: middle;" name="reqattach" value="4" />
					    </td>
					    <td style="text-align:center">
					        <c:set var="file_code_his4"><x:out select="$xmlData/data/content/file_code_his4" /></c:set>
					        <span name="file_code_his4" style="display:none"><x:out select="$xmlData/data/content/file_code_his4" /></span>
					        <c:if test="${file_code_his4!=''}" >
					            <a id="content_downLoadFile4" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_his4" />" 
				                   class="link_x" >
				                   <span name="content/file_name_his4"><x:out select="$xmlData/data/content/file_name_his4" /></span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date4"><x:out select="$xmlData/data/content/file_date_his4" /></span>) 
					       </c:if>&nbsp;
					    </td>
					    </c:if>  
					    <td>
					        <c:set var="file_code4"><x:out select="$xmlData/data/content/file_code4" /></c:set>
					        <span name="file_code4" style="display:none"><x:out select="$xmlData/data/content/file_code4" /></span>
					        <c:if test="${file_code4!=''}" >
					            <a id="content_downLoadFile4" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code4" />" 
				                   class="link_x" >
				                   <span name="content/file_name4"><x:out select="$xmlData/data/content/file_name4" /></span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date4"><x:out select="$xmlData/data/content/file_date4" /></span>) 
					       </c:if>&nbsp;
                        </td>
					    
					</tr>
					<tr>
					    <td style="text-align:center" ><span name="content/seq5">6</span></td>
			            <td><span name='content/name5'><x:out select="$xmlData/data/content/name5" /></span></td>
			            <td style="text-align:center"><x:out select="$xmlData/data/content/berif5" /></td>
			            <c:if test="${param.auditflag=='edit'}">
					    <td style="text-align:center">
					        <input type="checkbox" class="do " id="reqattach_5"
				                   style="vertical-align: middle;" name="reqattach" value="5" />
					    </td>
					    <td style="text-align:center">
					        <c:set var="file_code_his5"><x:out select="$xmlData/data/content/file_code_his5" /></c:set>
					        <span name="file_code_his5" style="display:none"><x:out select="$xmlData/data/content/file_code_his5" /></span>
					        <c:if test="${file_code_his5!=''}" >
					            <a id="content_downLoadFile5" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_his5" />" 
				                   class="link_x" >
				                   <span name="content/file_name_his5"><x:out select="$xmlData/data/content/file_name_his5" /></span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date5"><x:out select="$xmlData/data/content/file_date_his5" /></span>) 
					       </c:if>&nbsp;
					    </td>
					    </c:if>  
					    <td>
					        <c:set var="file_code5"><x:out select="$xmlData/data/content/file_code5" /></c:set>
					        <span name="file_code5" style="display:none"><x:out select="$xmlData/data/content/file_code5" /></span>
					        <c:if test="${file_code5!=''}" >
					            <a id="content_downLoadFile5" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code5" />" 
				                   class="link_x" >
				                   <span name="content/file_name5"><x:out select="$xmlData/data/content/file_name5" /></span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date5"><x:out select="$xmlData/data/content/file_date5" /></span>) 
					       </c:if>&nbsp;
                        </td>
					    
					</tr>
					<tr>
					    <td style="text-align:center" ><span name="content/seq6">7</span></td>
			            <td><span name='content/name6'><x:out select="$xmlData/data/content/name6" /></span></td>
			            <td style="text-align:center"><x:out select="$xmlData/data/content/berif6" /></td>
			            <c:if test="${param.auditflag=='edit'}">
					    <td style="text-align:center">
					        <input type="checkbox" class="do " id="reqattach_6"
				                   style="vertical-align: middle;" name="reqattach" value="6" />
					    </td>
					    <td style="text-align:center">
					        <c:set var="file_code_his6"><x:out select="$xmlData/data/content/file_code_his6" /></c:set>
					        <span name="file_code_his6" style="display:none"><x:out select="$xmlData/data/content/file_code_his6" /></span>
					        <c:if test="${file_code_his6!=''}" >
					            <a id="content_downLoadFile6" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_his6" />" 
				                   class="link_x" >
				                   <span name="content/file_name_his6"><x:out select="$xmlData/data/content/file_name_his6" /></span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date6"><x:out select="$xmlData/data/content/file_date_his6" /></span>) 
					       </c:if>&nbsp;
					    </td>
					    </c:if>  
					    <td>
					        <c:set var="file_code6"><x:out select="$xmlData/data/content/file_code6" /></c:set>
					        <span name="file_code6" style="display:none"><x:out select="$xmlData/data/content/file_code6" /></span>
					        <c:if test="${file_code6!=''}" >
					            <a id="content_downLoadFile6" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code6" />" 
				                   class="link_x" >
				                   <span name="content/file_name6"><x:out select="$xmlData/data/content/file_name6" /></span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date6"><x:out select="$xmlData/data/content/file_date6" /></span>) 
					       </c:if>&nbsp;
                        </td>
					    
					</tr>
					<tr>
					    <td style="text-align:center" ><span name="content/seq7">8</span></td>
			            <td><span name='content/name7'><x:out select="$xmlData/data/content/name7" /></span></td>
			            <td style="text-align:center"><x:out select="$xmlData/data/content/berif7" /></td>
			            <c:if test="${param.auditflag=='edit'}">
					    <td style="text-align:center">
					        <input type="checkbox" class="do " id="reqattach_7"
				                   style="vertical-align: middle;" name="reqattach" value="7" />
					    </td>
					    <td style="text-align:center">
					        <c:set var="file_code_his7"><x:out select="$xmlData/data/content/file_code_his7" /></c:set>
					        <span name="file_code_his7" style="display:none"><x:out select="$xmlData/data/content/file_code_his7" /></span>
					        <c:if test="${file_code_his7!=''}" >
					            <a id="content_downLoadFile7" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_his7" />" 
				                   class="link_x" >
				                   <span name="content/file_name_his7"><x:out select="$xmlData/data/content/file_name_his7" /></span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date7"><x:out select="$xmlData/data/content/file_date_his7" /></span>) 
					       </c:if>&nbsp;
					    </td>
					    </c:if>  
					    <td>
					        <c:set var="file_code7"><x:out select="$xmlData/data/content/file_code7" /></c:set>
					        <span name="file_code7" style="display:none"><x:out select="$xmlData/data/content/file_code7" /></span>
					        <c:if test="${file_code7!=''}" >
					            <a id="content_downLoadFile7" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code7" />" 
				                   class="link_x" >
				                   <span name="content/file_name7"><x:out select="$xmlData/data/content/file_name7" /></span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date7"><x:out select="$xmlData/data/content/file_date7" /></span>) 
					       </c:if>&nbsp;
                        </td>
					    
					</tr>
					<tr>
					    <td style="text-align:center" ><span name="content/seq8">9</span></td>
			            <td><span name='content/name8'><x:out select="$xmlData/data/content/name8" /></span></td>
			            <td style="text-align:center"><x:out select="$xmlData/data/content/berif8" /></td>
			            <c:if test="${param.auditflag=='edit'}">
					    <td style="text-align:center">
					        <input type="checkbox" class="do " id="reqattach_8"
				                   style="vertical-align: middle;" name="reqattach" value="8" />
					    </td>
					    <td style="text-align:center">
					        <c:set var="file_code_his8"><x:out select="$xmlData/data/content/file_code_his8" /></c:set>
					        <span name="file_code_his8" style="display:none"><x:out select="$xmlData/data/content/file_code_his8" /></span>
					        <c:if test="${file_code_his8!=''}" >
					            <a id="content_downLoadFile8" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code_his8" />" 
				                   class="link_x" >
				                   <span name="content/file_name_his8"><x:out select="$xmlData/data/content/file_name_his8" /></span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date8"><x:out select="$xmlData/data/content/file_date_his8" /></span>) 
					       </c:if>&nbsp;
					    </td>
					    </c:if>  
					    <td>
					        <c:set var="file_code8"><x:out select="$xmlData/data/content/file_code8" /></c:set>
					        <span name="file_code8" style="display:none"><x:out select="$xmlData/data/content/file_code8" /></span>
					        <c:if test="${file_code8!=''}" >
					            <a id="content_downLoadFile8" href="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code8" />" 
				                   class="link_x" >
				                   <span name="content/file_name8"><x:out select="$xmlData/data/content/file_name8" /></span>
				                </a>&nbsp;&nbsp;<br>(上传时间<span name="content/file_date8"><x:out select="$xmlData/data/content/file_date8" /></span>) 
					       </c:if>&nbsp;
                        </td>
					    
					</tr>
					
	</tbody>
</table>
<script type="text/javascript">
	$(function() {
		initAttachMessage('prpContent_upload','','');
		if($('#auditflag').val()=='edit')
		hiddenAttach('prpContent_upload');
	});
</script>